import { Authority,getBolb } from '../request'

const { post, get} = Authority



// 获取传感器列表
export const sensorQuery = params => get('/equip2/sensor/v1/queryList', { params })

// 传感器删除
export const sensorDelete = params => post('/equip2/sensor/v1/delete', params)

// 传感器新增
export const sensorAdd = params => post('/equip2/sensor/v1/add', params)

// 传感器修改
export const sensorUpdate = params => post('/equip2/sensor/v1/update', params)



// 上位机列表
export const swjQueryList = params => get('/equip2/equip/v1/queryList', { params })

// 上位机更新
export const swjUpdate = params => post('/equip2/equip/v1/update', params)

// 上位机新增
export const swjAdd = params => post('/equip2/equip/v1/add', params)

// 上位机删除
export const swjDelete = params => post('/equip2/equip/v1/delete', params)
